[INFO] cloning repository https://github.com/starcoinorg/crypto-common
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starcoinorg/crypto-common" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarcoinorg%2Fcrypto-common", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarcoinorg%2Fcrypto-common'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 37a238a5da1e7897944631097a9192e8fcd7e822
[INFO] testing starcoinorg/crypto-common against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarcoinorg%2Fcrypto-common" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/starcoinorg/crypto-common
[INFO] finished tweaking git repo https://github.com/starcoinorg/crypto-common
[INFO] tweaked toml for git repo https://github.com/starcoinorg/crypto-common written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/starcoinorg/crypto-common on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/starcoinorg/crypto-common already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/aptos-labs/bcs.git`
[INFO] [stderr]     Updating git repository `https://github.com/starcoinorg/openrpc-rs`
[INFO] [stderr]     Updating git repository `https://github.com/starcoinorg/schemars`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 26 packages to latest compatible versions
[INFO] [stderr]       Adding block-buffer v0.10.4
[INFO] [stderr]       Adding bs58 v0.5.1
[INFO] [stderr]       Adding cpufeatures v0.2.17
[INFO] [stderr]       Adding crypto-common v0.1.7
[INFO] [stderr]       Adding digest v0.10.7
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding hkdf v0.12.4
[INFO] [stderr]       Adding hmac v0.12.1
[INFO] [stderr]       Adding libp2p-identity v0.2.14
[INFO] [stderr]     Updating multiaddr v0.16.0 -> v0.18.2
[INFO] [stderr]     Updating multihash v0.16.3 -> v0.19.5
[INFO] [stderr]       Adding openrpc-schema v0.1.0 (https://github.com/starcoinorg/openrpc-rs?rev=ede68cb6bd9cee80225ac978a9b982c2c5617d0f#ede68cb6)
[INFO] [stderr]       Adding pin-project-lite v0.2.17
[INFO] [stderr]       Adding schemars v0.8.8 (https://github.com/starcoinorg/schemars?rev=450b1407d377dcdfad54783d161e063e6fefbffc#450b1407)
[INFO] [stderr]       Adding schemars_derive v0.8.8 (https://github.com/starcoinorg/schemars?rev=450b1407d377dcdfad54783d161e063e6fefbffc#450b1407)
[INFO] [stderr]       Adding sha2 v0.10.9
[INFO] [stderr]       Adding subtle v2.6.1
[INFO] [stderr]       Adding thiserror v2.0.18
[INFO] [stderr]       Adding thiserror-impl v2.0.18
[INFO] [stderr]       Adding tinyvec v1.11.0
[INFO] [stderr]       Adding tinyvec_macros v0.1.1
[INFO] [stderr]       Adding tracing v0.1.44
[INFO] [stderr]       Adding tracing-attributes v0.1.31
[INFO] [stderr]       Adding tracing-core v0.1.36
[INFO] [stderr]       Adding typenum v1.20.1
[INFO] [stderr]     Updating unsigned-varint v0.7.2 -> v0.8.0
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded data-encoding-macro-internal v0.1.16
[INFO] [stderr]   Downloaded data-encoding-macro v0.1.18
[INFO] [stderr]   Downloaded libp2p-identity v0.2.14
[INFO] [stderr]   Downloaded typenum v1.20.1
[INFO] [stderr]   Downloaded more-asserts v0.3.1
[INFO] [stderr]   Downloaded multihash v0.19.5
[INFO] [stderr]   Downloaded proptest-derive v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2898ada007ca905b999ec3e549ff8218d79717a2ab90fadf2e5ae8d22ee1fbf5
[INFO] running `Command { std: "docker" "start" "-a" "2898ada007ca905b999ec3e549ff8218d79717a2ab90fadf2e5ae8d22ee1fbf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2898ada007ca905b999ec3e549ff8218d79717a2ab90fadf2e5ae8d22ee1fbf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2898ada007ca905b999ec3e549ff8218d79717a2ab90fadf2e5ae8d22ee1fbf5", kill_on_drop: false }`
[INFO] [stdout] 2898ada007ca905b999ec3e549ff8218d79717a2ab90fadf2e5ae8d22ee1fbf5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c29cdb66092ba55fc067a7e6c4699d8414b030f16500fefa89fb749d09e9a0c5
[INFO] running `Command { std: "docker" "start" "-a" "c29cdb66092ba55fc067a7e6c4699d8414b030f16500fefa89fb749d09e9a0c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling unsigned-varint v0.8.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rustix v1.0.5
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling base-x v0.2.11
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling multihash v0.19.5
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling schemars v0.8.8 (https://github.com/starcoinorg/schemars?rev=450b1407d377dcdfad54783d161e063e6fefbffc#450b1407)
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling bit-vec v0.8.0
[INFO] [stderr]    Compiling data-encoding-macro-internal v0.1.16
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling unarray v0.1.4
[INFO] [stderr]    Compiling bit-set v0.8.0
[INFO] [stderr]    Compiling more-asserts v0.3.1
[INFO] [stderr]    Compiling data-encoding-macro v0.1.18
[INFO] [stderr]    Compiling multibase v0.9.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling libp2p-identity v0.2.14
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling multiaddr v0.18.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling bcs v0.1.4 (https://github.com/aptos-labs/bcs.git?rev=d31fab9d81748e2594be5cd5cdf845786a30562d#d31fab9d)
[INFO] [stderr]    Compiling tempfile v3.19.1
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling proptest v1.6.0
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]    Compiling proptest-derive v0.4.0
[INFO] [stderr]    Compiling schemars_derive v0.8.8 (https://github.com/starcoinorg/schemars?rev=450b1407d377dcdfad54783d161e063e6fefbffc#450b1407)
[INFO] [stderr]    Compiling openrpc-schema v0.1.0 (https://github.com/starcoinorg/openrpc-rs?rev=ede68cb6bd9cee80225ac978a9b982c2c5617d0f#ede68cb6)
[INFO] [stderr]    Compiling crypto-common v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.18s
[INFO] running `Command { std: "docker" "inspect" "c29cdb66092ba55fc067a7e6c4699d8414b030f16500fefa89fb749d09e9a0c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c29cdb66092ba55fc067a7e6c4699d8414b030f16500fefa89fb749d09e9a0c5", kill_on_drop: false }`
[INFO] [stdout] c29cdb66092ba55fc067a7e6c4699d8414b030f16500fefa89fb749d09e9a0c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe41eb6e30f3fbd4c09fcca3415f3dca5cc988c0089f51d3bdc75bc0e4ab0b88
[INFO] running `Command { std: "docker" "start" "-a" "fe41eb6e30f3fbd4c09fcca3415f3dca5cc988c0089f51d3bdc75bc0e4ab0b88", kill_on_drop: false }`
[INFO] [stderr]    Compiling crypto-common v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:128:51
[INFO] [stdout]     |
[INFO] [stdout] 128 | #[cfg_attr(any(test, feature = "fuzzing"), derive(Arbitrary))]
[INFO] [stdout]     |                                                   ^--------
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   `Arbitrary` is not local
[INFO] [stdout]     |                                                   move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_HashValue`
[INFO] [stdout] 129 | pub struct HashValue {
[INFO] [stdout]     |            --------- `HashValue` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.16s
[INFO] running `Command { std: "docker" "inspect" "fe41eb6e30f3fbd4c09fcca3415f3dca5cc988c0089f51d3bdc75bc0e4ab0b88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe41eb6e30f3fbd4c09fcca3415f3dca5cc988c0089f51d3bdc75bc0e4ab0b88", kill_on_drop: false }`
[INFO] [stdout] fe41eb6e30f3fbd4c09fcca3415f3dca5cc988c0089f51d3bdc75bc0e4ab0b88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dbc62357d87f09770a3381e03f02e0ec2d883a70c2819109a014ed29a37ef6a8
[INFO] running `Command { std: "docker" "start" "-a" "dbc62357d87f09770a3381e03f02e0ec2d883a70c2819109a014ed29a37ef6a8", kill_on_drop: false }`
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]    --> src/lib.rs:128:51
[INFO] [stderr]     |
[INFO] [stderr] 128 | #[cfg_attr(any(test, feature = "fuzzing"), derive(Arbitrary))]
[INFO] [stderr]     |                                                   ^--------
[INFO] [stderr]     |                                                   |
[INFO] [stderr]     |                                                   `Arbitrary` is not local
[INFO] [stderr]     |                                                   move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_HashValue`
[INFO] [stderr] 129 | pub struct HashValue {
[INFO] [stderr]     |            --------- `HashValue` is not local
[INFO] [stderr]     |
[INFO] [stderr]     = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]     = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive`
[INFO] [stderr]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]     = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `crypto-common` (lib test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypto_common-6e027eb3f47ef368)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::test_serialize_and_deserialize ... ok
[INFO] [stdout] test tests::test_serialize ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests crypto_common
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 94) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 84) ... ok
[INFO] [stdout] test src/lib.rs - TestOnlyHash (line 714) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 65) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 41) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 94) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `aptos_crypto` in this scope
[INFO] [stdout]   --> src/lib.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 | use aptos_crypto::hash::{CryptoHasher, TestOnlyHasher};
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `aptos_crypto`, use `cargo add aptos_crypto` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - TestOnlyHash (line 714) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `aptos_crypto` in this scope
[INFO] [stdout]    --> src/lib.rs:715:5
[INFO] [stdout]     |
[INFO] [stdout] 715 | use aptos_crypto::hash::TestOnlyHash;
[INFO] [stdout]     |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `aptos_crypto`, use `cargo add aptos_crypto` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_only_hash` found for reference `&'static [u8; 11]` in the current scope
[INFO] [stdout]    --> src/lib.rs:717:16
[INFO] [stdout]     |
[INFO] [stdout] 717 | b"hello world".test_only_hash();
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ method not found in `&'static [u8; 11]`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 65) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `aptos_crypto_derive`
[INFO] [stdout]   --> src/lib.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use aptos_crypto_derive::CryptoHasher;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `aptos_crypto_derive`, use `cargo add aptos_crypto_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 41) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `aptos_crypto` in this scope
[INFO] [stdout]   --> src/lib.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | use aptos_crypto::hash::CryptoHash;
[INFO] [stdout]    |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `aptos_crypto`, use `cargo add aptos_crypto` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `aptos_crypto_derive`
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | use aptos_crypto_derive::{CryptoHasher, BCSCryptoHash};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aptos_crypto_derive`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `aptos_crypto_derive`, use `cargo add aptos_crypto_derive` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `hash` found for struct `MyNewStruct` in the current scope
[INFO] [stdout]   --> src/lib.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct MyNewStruct { /*...*/ }
[INFO] [stdout]    | ------------------ method `hash` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 | value.hash();
[INFO] [stdout]    |       ^^^^ method not found in `MyNewStruct`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `hash`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Hash`
[INFO] [stdout]            candidate #2: `crypto_common::CryptoHash`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 41)
[INFO] [stdout]     src/lib.rs - (line 65)
[INFO] [stdout]     src/lib.rs - (line 94)
[INFO] [stdout]     src/lib.rs - TestOnlyHash (line 714)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "dbc62357d87f09770a3381e03f02e0ec2d883a70c2819109a014ed29a37ef6a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbc62357d87f09770a3381e03f02e0ec2d883a70c2819109a014ed29a37ef6a8", kill_on_drop: false }`
[INFO] [stdout] dbc62357d87f09770a3381e03f02e0ec2d883a70c2819109a014ed29a37ef6a8
